package com.dongdongshop.service.address;

import com.dongdongshop.pojo.address.TbAddress;
import com.dongdongshop.pojo.order.TbOrder;

import java.util.List;

public interface AddressService {
    List<TbAddress> getAddress(String username);

    int deleteById(Long id);

    void setDefault(Long id);

    void addAddress(TbAddress tbAddress);

    TbOrder getReceiver(Long addressId, TbOrder tbOrder);
}
